<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<p>
    autofocus自动对焦，tabindex切换索引
</p>


<input type="text" name="" value="5" tabindex="5">
<input type="text" name="" value="3" tabindex="3">
<input type="text" name="" value="8" tabindex="8">
<input type="text" name="" value="9" tabindex="9">
<input type="text" name="" value="2" tabindex="2">
<input type="text" name="" value="1" autofocus tabindex="1">
<input type="text" name="" value="4" tabindex="4">
<input type="text" name="" value="7" tabindex="7">
<input type="text" name="" value="6" tabindex="6">



</body>
</html>